import vueRouter from 'vue-router'
import Vue from 'vue'
const home = () => import('../components/home/home.vue')
Vue.use(vueRouter)
const routes = [
    {
        path: '/',
        redirect:'/home'
    },
    {
        path: '/home',
        component:home
    }
]
const r = new vueRouter({
    routes,
    mode:'history'
})

export default r